package cn.marinda.resturants.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("r_member")
public class Member {
    @TableId(value = "uid",type = IdType.AUTO)
    private String uid;
    private String name;
    private BigDecimal discount;
    @TableField(value = "create_date")
    private String createDate;
    private int count;
    private BigDecimal vochers;

    @Version
    private int version;
}
